﻿@model List<KRM.Core.vVoucherOrder>
@{
    ViewBag.Title = "Orders Voucher ";
    Layout = "~/Views/Shared/_PopupLayout.cshtml";
}
<div class="padding10">
    <div class="row-fluid">
        <div class="customerdetailsonorder scrollable" data-height="500" data-visible="true">
            <table class="table table-hover table-bordered table-fix dataTable">
                <thead>
                    <tr>
                        <th>OrderRef</th>
                        <th>OrderValue</th>
                        <th>DatePlaced</th>
                        <th>CustomerID</th>
                        <th>Email</th>
                        <th>Title</th>
                        <th>FirstName</th>
                        <th>Surname</th>
                        <th>Town</th>
                        <th>Country</th>
                        <th>Postcode</th>
                    </tr>
                </thead>
                <tbody>
                    @foreach (var item in Model)
                    {
                        <tr>
                            <td> <a href="/orderview/orderdetail?OrderRef=@item.OrderRef"   class="" target="_blank">@item.OrderRef</a></td>
                            <td>@item.OrderValue</td>
                            <td>@item.DatePlaced</td>
                            <td>@item.CustomerID</td>
                            <td>@item.EmailAddress</td>
                            <td>@item.Title</td>
                            <td>@item.Forename</td>
                            <td>@item.Surname</td>
                            <td>@item.Town</td>
                            <td>@item.County</td>
                            <td>@item.Postcode</td>
                        </tr>
                    }
                </tbody>
            </table>
        </div>
</div></div>
